package com.yyx.server.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.*;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 
 * </p>
 *
 * @author YongXin
 * @since 2021-07-24
 */
@Data
@RequiredArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false,of = "name")
@TableName("t_nation")
public class Nation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 民族id
     */
      private Integer id;

    /**
     * 民族名称
     */
    @Excel(name = "民族")
    @NonNull
    private String name;


}
